git-annex.git
3 months agotypo
Joey Hess [Sat, 25 Oct 2025 08:42:10 +0000 (04:42 -0400)]
typo

3 months agoAdded a comment
yarikoptic [Fri, 24 Oct 2025 14:26:08 +0000 (14:26 +0000)]
Added a comment

3 months agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 20 Oct 2025 19:36:09 +0000 (15:36 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

3 months agoSupport ssh remotes with '#' and '?' in the path to the repository
Joey Hess [Mon, 20 Oct 2025 19:35:24 +0000 (15:35 -0400)]
Support ssh remotes with '#' and '?' in the path to the repository

The same way git does.

Affected repository types are regular git ssh remotes, and also gcrypt
remotes, and potentially also bup remotes.

repoPath is used for such repositories accessed over ssh. uriPath is used
in some other places, eg the bittorrent special remote, where it would not
be appropriate to mimic git's behavior. The distinction seems to hold up
well from what I can see.

The ordering of uriFragment after uriQuery is to correctly handle cases
where both appear in an url. "ssh://localhost/tmp/foo?baz#bar" has an
uriFragment of "#bar" and an uriQuery of "?baz". On the other hand,
"ssh://localhost/tmp/foo#baz?bar" has an uriFragment of "#baz?bar" and no
uriQuery.

Sponsored-by: Dartmouth College's DANDI project
3 months agoAdded a comment: Re: support for bulk write/read/test remote - ps
psxvoid [Sun, 19 Oct 2025 05:00:34 +0000 (05:00 +0000)]
Added a comment: Re: support for bulk write/read/test remote - ps

3 months agoremoved
psxvoid [Sun, 19 Oct 2025 04:59:19 +0000 (04:59 +0000)]
removed

3 months agoAdded a comment: Rr: support for bulk write/read/test remote (PS)
psxvoid [Sun, 19 Oct 2025 04:58:54 +0000 (04:58 +0000)]
Added a comment: Rr: support for bulk write/read/test remote (PS)

3 months agoAdded a comment: Re: support for bulk write/read/test remote - joey
psxvoid [Sun, 19 Oct 2025 04:36:37 +0000 (04:36 +0000)]
Added a comment: Re: support for bulk write/read/test remote - joey

3 months ago(no commit message)
matrss [Thu, 16 Oct 2025 15:51:22 +0000 (15:51 +0000)]

3 months agoAdded a comment
matrss [Tue, 14 Oct 2025 16:52:24 +0000 (16:52 +0000)]
Added a comment

3 months agocomment
Joey Hess [Tue, 14 Oct 2025 15:48:32 +0000 (11:48 -0400)]
comment

3 months agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 14 Oct 2025 14:53:28 +0000 (10:53 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

3 months ago(no commit message)
matrss [Mon, 13 Oct 2025 12:42:48 +0000 (12:42 +0000)]

3 months ago(no commit message)
matrss [Mon, 13 Oct 2025 12:28:57 +0000 (12:28 +0000)]

3 months ago(no commit message)
matrss [Mon, 13 Oct 2025 12:28:11 +0000 (12:28 +0000)]

3 months ago(no commit message)
JohnMorris [Mon, 13 Oct 2025 11:51:37 +0000 (11:51 +0000)]

3 months ago(no commit message)
poelzi [Sat, 11 Oct 2025 12:56:32 +0000 (12:56 +0000)]

3 months agoRevert "update"
Joey Hess [Tue, 7 Oct 2025 20:11:37 +0000 (16:11 -0400)]
Revert "update"

This reverts commit 48090579d91d92318d8b394c17b26b4a6af6ee69.

3 months agoupdate
Joey Hess [Tue, 7 Oct 2025 20:11:21 +0000 (16:11 -0400)]
update

3 months agoupdate
Joey Hess [Tue, 7 Oct 2025 20:08:51 +0000 (16:08 -0400)]
update

4 months agomuch better
Spencer [Tue, 7 Oct 2025 01:25:00 +0000 (01:25 +0000)]
much better

4 months agorename tips/Acquaintances_-_Connecting_Projects_to_Share_Files.mdwn to tips/Friends_...
Spencer [Tue, 7 Oct 2025 01:22:52 +0000 (01:22 +0000)]
rename tips/Acquaintances_-_Connecting_Projects_to_Share_Files.mdwn to tips/Friends_-_Connecting_Projects_to_Share_Files.mdwn

4 months agocomment
Joey Hess [Mon, 6 Oct 2025 13:34:04 +0000 (09:34 -0400)]
comment

4 months agonew idea, work in progress
Spencer [Sun, 5 Oct 2025 19:26:45 +0000 (19:26 +0000)]
new idea, work in progress

4 months agoAdded a comment: My config works now
incogshift [Sat, 4 Oct 2025 08:05:00 +0000 (08:05 +0000)]
Added a comment: My config works now

4 months ago(no commit message)
incogshift [Sat, 4 Oct 2025 07:31:31 +0000 (07:31 +0000)]

4 months ago(no commit message)
incogshift [Fri, 3 Oct 2025 23:39:22 +0000 (23:39 +0000)]

4 months ago(no commit message)
incogshift [Fri, 3 Oct 2025 23:37:49 +0000 (23:37 +0000)]

4 months ago(no commit message)
incogshift [Fri, 3 Oct 2025 23:36:19 +0000 (23:36 +0000)]

4 months agopass -m when signing tag
Joey Hess [Thu, 2 Oct 2025 20:06:34 +0000 (16:06 -0400)]
pass -m when signing tag

4 months agosign tags
Joey Hess [Thu, 2 Oct 2025 19:58:31 +0000 (15:58 -0400)]
sign tags

4 months agopush tags earlier
Joey Hess [Thu, 2 Oct 2025 18:43:58 +0000 (14:43 -0400)]
push tags earlier

4 months agocomment
Joey Hess [Thu, 2 Oct 2025 17:43:43 +0000 (13:43 -0400)]
comment

4 months agomake git-annex_$version tags in the downloads repo
Joey Hess [Thu, 2 Oct 2025 17:28:40 +0000 (13:28 -0400)]
make git-annex_$version tags in the downloads repo

Note the use of git tag -f, this way if it takes several tries to get a
release published, it will use the final one for the tag.

Tags have been retrospectively added for past releases, using this:

for v in $(git log --oneline --grep="publishing git-annex "| sed 's/ publishing git-annex / /'); do foo=$(echo "$v" | sed 's/ .*//'); bar=$(echo "$v" | sed 's/.* //');  git tag git-annex_"$bar" "$foo" ; done

4 months agoAdded a comment
caleb@2b0d6f0eabf955cc8fd04c634b09f0ca4aad9233 [Wed, 1 Oct 2025 22:15:15 +0000 (22:15 +0000)]
Added a comment

4 months agoAdded a comment
yarikoptic [Wed, 1 Oct 2025 20:18:44 +0000 (20:18 +0000)]
Added a comment

4 months agocomplaining about choice of variable
yarikoptic [Wed, 1 Oct 2025 17:07:25 +0000 (17:07 +0000)]
complaining about choice of variable

4 months agocomment
Joey Hess [Wed, 1 Oct 2025 16:03:54 +0000 (12:03 -0400)]
comment

4 months agofollowup
Joey Hess [Wed, 1 Oct 2025 15:34:19 +0000 (11:34 -0400)]
followup

4 months agoAdded a comment
yarikoptic [Wed, 1 Oct 2025 13:09:01 +0000 (13:09 +0000)]
Added a comment

4 months agocomments
Joey Hess [Tue, 30 Sep 2025 14:58:01 +0000 (10:58 -0400)]
comments

4 months agoadd Servant to build flags again
Joey Hess [Tue, 30 Sep 2025 14:19:10 +0000 (10:19 -0400)]
add Servant to build flags again

While the build flag is removed, datalad tests are relying on it being
present and there is no harm.

4 months agoAdded a comment: Fixed in 20050929
ewen [Mon, 29 Sep 2025 21:54:14 +0000 (21:54 +0000)]
Added a comment: Fixed in 20050929

4 months agoRevert "webapp: Remove support for local pairing"
Joey Hess [Mon, 29 Sep 2025 19:53:38 +0000 (15:53 -0400)]
Revert "webapp: Remove support for local pairing"

This reverts commit 8ea6d7acc548cb35b4905c9c663e8a7de66ac752.

Temporarily, until builds finish for today's release.

4 months agowebapp: Remove support for local pairing
Joey Hess [Mon, 29 Sep 2025 16:42:48 +0000 (12:42 -0400)]
webapp: Remove support for local pairing

As a feature only supported by the webapp, and not by git-annex at the
command line, this is by now a very obscure corner of git-annex, and not
one I want to keep maintaining.

It's worth removing it to avoid the security expsure alone. People using
the assistant w/o the webapp probably don't expect it to be listening on
a UDP port for a handrolled protocol, but it was.

The webapp has supported pairing via magic-wormhole since 2016, which
makes a link including between local computers, albeit with the overhead
of tor. That sort of covers the same use case. Of course advanced users
can easily enough add a ssh remote to their repository themselves, using
a hostname on the local network.

Sponsored-by: unqueued
4 months agoremove old assistant release notes
Joey Hess [Mon, 29 Sep 2025 16:40:10 +0000 (12:40 -0400)]
remove old assistant release notes

4 months agoadd news item for git-annex 10.20250929
Joey Hess [Mon, 29 Sep 2025 15:30:48 +0000 (11:30 -0400)]
add news item for git-annex 10.20250929

4 months agoreleasing package git-annex version 10.20250929
Joey Hess [Mon, 29 Sep 2025 15:30:29 +0000 (11:30 -0400)]
releasing package git-annex version 10.20250929

4 months agoFix build with ghc 9.0.2.
Joey Hess [Mon, 29 Sep 2025 15:27:52 +0000 (11:27 -0400)]
Fix build with ghc 9.0.2.

4 months agoresponse
Joey Hess [Mon, 29 Sep 2025 15:18:56 +0000 (11:18 -0400)]
response

4 months agocomment
Joey Hess [Mon, 29 Sep 2025 15:13:26 +0000 (11:13 -0400)]
comment

4 months agoadd libghc-unbounded-delays-dev to debian/control deps
Joey Hess [Mon, 29 Sep 2025 15:11:20 +0000 (11:11 -0400)]
add libghc-unbounded-delays-dev to debian/control deps

4 months agodon't set locale encoding when opening binary file
Joey Hess [Mon, 29 Sep 2025 15:06:18 +0000 (11:06 -0400)]
don't set locale encoding when opening binary file

importfeed: Fix encoding issues parsing feeds when built with OsPath.

4 months agocomment typo
Joey Hess [Mon, 29 Sep 2025 14:46:51 +0000 (10:46 -0400)]
comment typo

4 months agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 29 Sep 2025 14:40:19 +0000 (10:40 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

4 months agoenableremote: Allow type= to be provided when it does not change the type of the...
Joey Hess [Mon, 29 Sep 2025 14:40:10 +0000 (10:40 -0400)]
enableremote: Allow type= to be provided when it does not change the type of the special remote

Fixes breakage in datalad test suite
https://github.com/datalad/datalad/issues/7747

Also, revert the change I earlier made to git-annex's own test suite due to
the same problem.

4 months agoAdded a comment: Cross link to importfeed parsing
ewen [Sun, 28 Sep 2025 22:49:31 +0000 (22:49 +0000)]
Added a comment: Cross link to importfeed parsing

4 months agoAdded a comment: Feed seems to now be parsed as UTF-8 characters, not binary mode
ewen [Sun, 28 Sep 2025 22:42:32 +0000 (22:42 +0000)]
Added a comment: Feed seems to now be parsed as UTF-8 characters, not binary mode

4 months agoAdded a comment: importfeed: utf-8 XML is (now?) parsed into 8-bit characters
ewen [Sun, 28 Sep 2025 22:24:23 +0000 (22:24 +0000)]
Added a comment: importfeed: utf-8 XML is (now?) parsed into 8-bit characters

4 months agoAdded a comment: Example still working feed
ewen [Sun, 28 Sep 2025 22:05:57 +0000 (22:05 +0000)]
Added a comment: Example still working feed

4 months agoAdded a comment: Debug output
ewen [Sun, 28 Sep 2025 21:58:18 +0000 (21:58 +0000)]
Added a comment: Debug output

4 months agoAdded a comment: Previous working build was 20250828
ewen [Sun, 28 Sep 2025 21:35:08 +0000 (21:35 +0000)]
Added a comment: Previous working build was 20250828

4 months agoimportfeed: Enum.toEnum{Word8}: tag (8217) is outside of bounds (0,255)
ewen [Sun, 28 Sep 2025 21:32:35 +0000 (21:32 +0000)]
importfeed: Enum.toEnum{Word8}: tag (8217) is outside of bounds (0,255)

4 months ago(no commit message)
xentac [Sat, 27 Sep 2025 23:26:41 +0000 (23:26 +0000)]

4 months agoAdded a comment
yarikoptic [Sat, 27 Sep 2025 17:27:51 +0000 (17:27 +0000)]
Added a comment

4 months agomissing build dep for debian?
yarikoptic [Sat, 27 Sep 2025 12:19:14 +0000 (12:19 +0000)]
missing build dep for debian?

4 months ago(no commit message)
jnkl [Sat, 27 Sep 2025 12:08:57 +0000 (12:08 +0000)]

4 months ago(no commit message)
caleb@2b0d6f0eabf955cc8fd04c634b09f0ca4aad9233 [Thu, 25 Sep 2025 23:04:55 +0000 (23:04 +0000)]

4 months agoRemove the Servant build flag
Joey Hess [Thu, 25 Sep 2025 17:40:06 +0000 (13:40 -0400)]
Remove the Servant build flag

Always build with support for annex+http urls and git-annex p2phttp.

4 months agoremove unnecessary import
Joey Hess [Thu, 25 Sep 2025 17:27:43 +0000 (13:27 -0400)]
remove unnecessary import

4 months agoadd news item for git-annex 10.20250925
Joey Hess [Thu, 25 Sep 2025 17:22:02 +0000 (13:22 -0400)]
add news item for git-annex 10.20250925

4 months agoreleasing package git-annex version 10.20250925
Joey Hess [Thu, 25 Sep 2025 17:21:55 +0000 (13:21 -0400)]
releasing package git-annex version 10.20250925

4 months agoAdded a comment
nadir [Wed, 24 Sep 2025 21:52:32 +0000 (21:52 +0000)]
Added a comment

4 months agoupdate
Joey Hess [Wed, 24 Sep 2025 17:04:51 +0000 (13:04 -0400)]
update

4 months agocomments
Joey Hess [Wed, 24 Sep 2025 16:54:20 +0000 (12:54 -0400)]
comments

4 months agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Wed, 24 Sep 2025 16:21:32 +0000 (12:21 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

4 months agopreparing for a release
Joey Hess [Wed, 24 Sep 2025 16:06:45 +0000 (12:06 -0400)]
preparing for a release

4 months agoreorder
Joey Hess [Wed, 24 Sep 2025 16:05:45 +0000 (12:05 -0400)]
reorder

4 months agofixed
Joey Hess [Wed, 24 Sep 2025 16:03:18 +0000 (12:03 -0400)]
fixed

4 months agoAdded a comment: the X prefix conflicts with the eXternal backend namespace
Arnie97 [Wed, 24 Sep 2025 12:05:05 +0000 (12:05 +0000)]
Added a comment: the X prefix conflicts with the eXternal backend namespace

4 months ago(no commit message)
jnkl [Tue, 23 Sep 2025 18:50:19 +0000 (18:50 +0000)]

4 months agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 23 Sep 2025 17:57:09 +0000 (13:57 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

4 months agoclean up imports needed by old versions of ghc
Joey Hess [Tue, 23 Sep 2025 17:55:13 +0000 (13:55 -0400)]
clean up imports needed by old versions of ghc

Now that ghc 9.0.2 is the oldest supported version.

Eg cruft from
https://web.archive.org/web/20190424185034/https://prime.haskell.org/wiki/Libraries/Proposals/SemigroupMonoid

Sponsored-by: Jack Hill
4 months ago(no commit message)
jnkl [Tue, 23 Sep 2025 17:48:41 +0000 (17:48 +0000)]

4 months agoavoid unused import on Windows
Joey Hess [Tue, 23 Sep 2025 17:11:32 +0000 (13:11 -0400)]
avoid unused import on Windows

4 months agofix build warnings
Joey Hess [Tue, 23 Sep 2025 17:11:04 +0000 (13:11 -0400)]
fix build warnings

4 months agofix windows build
Joey Hess [Tue, 23 Sep 2025 17:02:24 +0000 (13:02 -0400)]
fix windows build

4 months agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 23 Sep 2025 16:54:33 +0000 (12:54 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

4 months agoinvalidate recorded content identifier tree when export changes
Joey Hess [Tue, 23 Sep 2025 16:52:55 +0000 (12:52 -0400)]
invalidate recorded content identifier tree when export changes

Fix bug that made changes to a special remote sometimes be missed when
importing a tree from it. The diff import would miss when a change was
exported, then manually undone on the special remote (eg deleting a newly
exported file). A full import is needed to catch such changes.

After upgrading, any such missed changes will be included in the next
tree imported from a special remote. This happens because the previously
recorded content identifier tree does not have export information included,
so it is treated as invalid, and a full import is done.

Fixes reversion introduced in version 10.20230626, commit
40017089f268391f79226592850b58855cdbf808

Unfortunately, this does mean that after each export, the next import will
be a full import. Which can take significantly longer than the diff import
does, when there are a lot of files in the tree.

It would be better if exporting also update the content identifier tree.
However, I don't know if that can be done inexpensively. It would be future
optimisation work, in any case.

(That could only be done for an export that is run in the same
repository as the import. When an export is run in a different repository,
the export.log gets updated, and that propagates to the repository where
import is later run. At that point, a full import is done.)

Sponsored-by: Luke T. Shumaker
4 months agoremove accidentially added debug prints
Joey Hess [Tue, 23 Sep 2025 15:34:16 +0000 (11:34 -0400)]
remove accidentially added debug prints

4 months ago(no commit message)
yarikoptic [Tue, 23 Sep 2025 14:26:07 +0000 (14:26 +0000)]

4 months agoWindows still FTBFS
yarikoptic [Tue, 23 Sep 2025 14:24:30 +0000 (14:24 +0000)]
Windows still FTBFS

4 months agothought
Joey Hess [Tue, 23 Sep 2025 03:55:22 +0000 (23:55 -0400)]
thought

4 months agoworse
Joey Hess [Tue, 23 Sep 2025 03:48:46 +0000 (23:48 -0400)]
worse

4 months agopromote forum post to bug, analysis
Joey Hess [Mon, 22 Sep 2025 23:30:02 +0000 (19:30 -0400)]
promote forum post to bug, analysis

4 months agofix test suite
Joey Hess [Mon, 22 Sep 2025 19:00:26 +0000 (15:00 -0400)]
fix test suite

dfbf76e2ca50d31eca6dee253c5bf3c892301463 broke it.

enableremote with the same type= as initremote had before might be worth
allowing, but I'll wait and see if someone else complains

4 months agoprevent deadlock when reconcileStaged runs restagePointerFiles
Joey Hess [Mon, 22 Sep 2025 18:56:50 +0000 (14:56 -0400)]
prevent deadlock when reconcileStaged runs restagePointerFiles

Fix hang that could occur when using git-annex adjust on a branch with a
number of files greater than annex.queuesize. Or potentially other
commands.

When reconcileStaged is running, the database is being opened. But
restagePointerFiles closes the database, and later writes to it. So it will
deadlock if called by reconcileStaged.

The deadlock occurred when the git queue happened to be full, causing
adding a call to restagePointerFiles to it to flush the queue and
restagePointerFiles to run at the wrong time.

Fixed by making reconcileStaged, when it populates or depopulates a pointer
file, arrange for restagePointerFiles to be run as a cleanup action, rather
than from the git queue.

But, what if restagePointerFiles is already in the git queue before
reconcileStaged is run? If it adds anything else to the git queue, causing
the queue to flush, it would still deadlock. To avoid this hypothetical
situation, added a Annex.inreconcilestaged, and made restagePointerFiles
check it and not do anything.

Note that, I did consider the simpler approach of only running
restagePointerFiles as a cleanup action, rather than from the git queue.
But see commit 6a3bd283b8af53f810982e002e435c0d7c040c59 for why it was made
to use the queue in the first place. I wanted to avoid tying this bug fix
to a behavior change.

Sponsored-by: mycroft
4 months agoupdate
Joey Hess [Mon, 22 Sep 2025 16:07:16 +0000 (12:07 -0400)]
update

4 months agocomment
Joey Hess [Mon, 22 Sep 2025 15:19:13 +0000 (11:19 -0400)]
comment

4 months agocomment
Joey Hess [Mon, 22 Sep 2025 15:15:32 +0000 (11:15 -0400)]
comment